﻿<Window x:Class="SteamMoverWPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SteamMoverWPF" Height="823.846" Width="1438.875" Closing="Window_Closing">
    <Grid Margin="0,0,1,10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <DataGrid x:Name="dataGames" Margin="10,41,10,10" IsReadOnly="True" AutoGenerateColumns="False">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Name" Width="200" Binding="{Binding Path=Name}"></DataGridTextColumn>
                <DataGridTextColumn Header="IsJunction" Width="100" Binding="{Binding Path=IsJunction}"></DataGridTextColumn>

                <DataGridTextColumn Header="MainLocation" Width="auto" Binding="{Binding Path=MainLocation.FullName}"></DataGridTextColumn>
                <DataGridTextColumn Header="AlternateLocation" Width="auto" Binding="{Binding Path=AlternateLocation.FullName}"></DataGridTextColumn>
                <DataGridTextColumn Header="Size(mb)" Width="auto" Binding="{Binding Path=SizeInMB}"></DataGridTextColumn>
                <DataGridTemplateColumn Header="Move">
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <Button Name="btnMoveGame" Click="MoveGame">
                                >>
                            </Button>
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
                </DataGridTemplateColumn>

            </DataGrid.Columns>
        </DataGrid>
        <Button x:Name="cmdRefresh" Content="Refresh" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="10,10,0,0" Click="cmdRefresh_Click"/>

    </Grid>
</Window>
